import Vue from 'vue'

const state = {
  count: 0
}

const mutations = {
  increment: (state) => {
    Vue.set(state, 'count', state.count+1)
  },
  decrement: (state) => {
    Vue.set(state, 'count', state.count-1)
  }
}

const actions = {

}

export default {
  state,
  mutations,
  actions
}
